Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add display name for tags #152

Merged
merged 2 commits into from
Dec 5, 2016
Merged

Conversation

bfirsh
Copy link
Contributor

@bfirsh bfirsh commented Dec 5, 2016

In go-swagger, the name of the tag determines the directory that generated files end up in. Also, we want the tag names to be consistent with operationIds.

Unfortunately, these make bad names for menu items, so we want to have a way of specifying human-friendly names for the menu.

In go-swagger, the name of the tag determines the directory that
generated files end up in. Also, we want the tag names to be
consistent with operationIds.

Unfortunately, these make bad names for menu items, so we want
to have a way of specifying human-friendly names for the menu.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 84.395% when pulling d88fe7d on bfirsh:add-tag-display-name into 7b42507 on Rebilly:master.

@RomanHotsiy RomanHotsiy merged commit 82b52bf into Redocly:master Dec 5, 2016
@RomanHotsiy
Copy link
Member

RomanHotsiy commented Dec 5, 2016

@bfirsh awesome PR!
Thanks.
Will be included in the next release (till the end of the week)

@RomanHotsiy
Copy link
Member

FYI: new version v1.6.2 has been released

@bfirsh
Copy link
Contributor Author

bfirsh commented Dec 14, 2016

Sweet - thanks!

@bfirsh bfirsh deleted the add-tag-display-name branch December 14, 2016 11:41
bfirsh added a commit to bfirsh/docker that referenced this pull request Dec 14, 2016
In moby#29071, we made the tags the correct name for generating types,
at the expense of the menu in the documentation looking good.

ReDoc now has support for tag display names
( Redocly/redoc#152 ), so we can assign
a more human-friendly name to the menu items.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
vieux pushed a commit to vieux/docker that referenced this pull request Dec 14, 2016
In moby#29071, we made the tags the correct name for generating types,
at the expense of the menu in the documentation looking good.

ReDoc now has support for tag display names
( Redocly/redoc#152 ), so we can assign
a more human-friendly name to the menu items.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
(cherry picked from commit 0caa6c2)
Signed-off-by: Victor Vieux <vieux@docker.com>
xianlubird pushed a commit to xianlubird/docker that referenced this pull request Dec 23, 2016
In moby#29071, we made the tags the correct name for generating types,
at the expense of the menu in the documentation looking good.

ReDoc now has support for tag display names
( Redocly/redoc#152 ), so we can assign
a more human-friendly name to the menu items.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants